package ru.ccfit.nsu.g7204.dronov.adPlatform;

import ru.ccfit.nsu.g7204.dronov.adPlatform.utils.EnvironmentActivator;

/**
 * Created by IntelliJ IDEA.
 * User: Asus
 * Date: 29.03.2010
 * Time: 0:52:58
 * To change this template use File | Settings | File Templates.
 */
public class Main {
    public static void main(String[] args)
    {
        try{
            EnvironmentActivator.activate();
            Controller controller=new Controller();
            MainForm v=new MainForm(controller);
            v.setFeaturesFormListener(controller.getFeaturesFormController());
            v.setClientsFormListener(controller.getClientsFormController());
            v.setBannersFormListener(controller.getBannersFormController());
        }
        catch (Exception e)
        {
            System.out.println(e.getLocalizedMessage());
        }
    }
}

